package com.key.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@ApiModel("领用清单表实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReceiptAssets {

  @ApiModelProperty(name = "receiptId",notes = "id",dataType = "Integer")
  private Integer receiptId;
  @ApiModelProperty(name = "state",notes = "办理状态",dataType = "String")
  private String state;
  @ApiModelProperty(name = "receiptNumber",notes = "领用单号",dataType = "String")
  private String receiptNumber;
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  @ApiModelProperty(name = "receiptDate",notes = "领用日期",required = true,value = "yyyy-MM-dd")
  private Timestamp receiptDate;
  @ApiModelProperty(name = "receipter",notes = "领用人",dataType = "String")
  private String receipter;
  @ApiModelProperty(name = "receiptCompany",notes = "领用后使用公司",dataType = "String")
  private String receiptCompany;
  @ApiModelProperty(name = "receiptDepartment",notes = "领用后使用部门",dataType = "String")
  private String receiptDepartment;
  @ApiModelProperty(name = "receiptRegion",notes = "领用后区域",dataType = "String")
  private String receiptRegion;
  @ApiModelProperty(name = "receiptRemarks",notes = "领用备注",dataType = "String")
  private String receiptRemarks;
  @ApiModelProperty(name = "receiptStoragePlace",notes = "领用后存放地",dataType = "String")
  private String receiptStoragePlace;
  @ApiModelProperty(name = "handlers",notes = "处理人",dataType = "String")
  private String handlers;
  @ApiModelProperty(name = "approveDate",notes = "批准日期",dataType = "String")
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp approveDate;
  @ApiModelProperty(name = "approveProgress",notes = "审批进度",dataType = "String")
  private String approveProgress;
  @ApiModelProperty(name = "sign",notes = "签收状态",dataType = "String")
  private String sign;

}
